
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="org.apache.commons.collections.functors.ForClosure" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
  <base href="<%=basePath%>">
    <title>My JSP 'table.jsp' starting page</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

    <script src="js/alai_tree/Alai_tc.js"></script>
    <script src="js/Paginated.js"></script>
    <style>
		p{margin:3;body:font-size:10pt;}
		body{font-size:10pt}
		
		
	</style>
  </head>
  
  <body>
  <span id="processBar" style="overflow: no;width: 50;height: 20;position: absolute;top: 0;left: 0">
  		process...........
  </span>
  	
    <table border=1>

    	<tr>
    		<td valign="top">	
    			<table id="table8" border="1" width="555" cellspacing="2" >
    				<THEAD >
    				<th bgcolor="#876543">11111</th><th bgcolor="#876543">2222</th><th bgcolor="#876543">333333</th><th bgcolor="#876543">44444</th><th bgcolor="#876543">5555</th>
    				</THEAD>
				  <tbody id="table4" class="tablestyle">
				  <%
				  	for(int i=0;i<500;i++){
				  	System.out.println("i=="+i);
				  %>
				  
				  	<tr class='trh'>
				      <td height="16" width="62" style="word-wrap:break-word"><input type="checkbox" value="1"><%=i%></td>
				      <td height="16" width="127"><p>monitor<%=i%></p></td>
				      <td height="16" width="109">广东东莞<%=i%></td>
				      <td height="16" width="92"> <p>436<%=i%></p></td>
				      <td height="16" width="131"><p>04/17/1997</p></td>
				    </tr>
				  
				  <%
				  	}
				  %>
				  </tbody>
				</table>
    		</td>
    	</tr>
    	<tr id='paginationctrltr'>
    		<td id='splidpagebnt2' align="right">ddddd</td>
    	</tr>
    </table>
    
  </body>
</html>

<script type="text/javascript">
<!--


try{
var table4ctrbtn2 =new PaginatedCtrl('table4','table4ctrbtn2');
	table4ctrbtn2.builder('splidpagebnt2');
	table4ctrbtn2.setShowCount(10);
	table4ctrbtn2.toPage(1);
	var tc4=new alai_tc(table4)
	tc4.setCaption("No|品名|产地|数量|日期")
	tc4.setDataType("num|char|cnbh|num|date")
	tc4.setTcStyle("font-size:9pt;color:darkblue;background-color:sandybrown;")
	tc4.setTblStyle("border-collapse:collapse;border:0;font-size:9pt;")
	tc4.setRowStyle("background-color:lightcyan;|background-color:palegoldenrod;")
	tc4.setColStyle("color:red;|color:darkblue;|color:green;|color:blue;|color:#800000;")
}catch(e){
	alert(e.message);
}
	

//-->
f
document.getElementById('processBar').style.display='none';
</script>
